﻿<Window x:Class="for7raid.vkPlayer.SettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         Title="Настройки вРитме" Width="500" Height="300"
        mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:my="clr-namespace:for7raid.vkPlayer"
        xmlns:properties="clr-namespace:for7raid.vkPlayer.Properties"
        Style="{StaticResource CustomWindowChrome}"
        ResizeMode="NoResize"
         TextOptions.TextFormattingMode="Display">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />     
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        <TabControl Style="{x:Null}" Foreground="Transparent" Background="Transparent">
            <TabItem Header="Общие" Style="{x:Null}" Background="Transparent">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="*" />
                        <RowDefinition Height="*" />
                        <RowDefinition Height="*" />
                        <RowDefinition Height="*" />
                    </Grid.RowDefinitions>

                    <CheckBox Grid.Row="0" Content="Использовать проксти по умолчанию" IsChecked="{Binding IsUseProxy, Source={x:Static properties:Settings.Default}, UpdateSourceTrigger=PropertyChanged}" Margin="3"/>
                    <CheckBox Grid.Row="1" Content="Использовать управление с клавиатуры" IsChecked="{Binding IsUseKeyboardHook, Source={x:Static properties:Settings.Default}, UpdateSourceTrigger=PropertyChanged}" Margin="3">
                        <CheckBox.ToolTip>
                            <TextBlock xml:space="preserve">
WinKey+Space = Пауза
WinKey+→ = Следующая запись
WinKey+← = Перыдыдущая запись
WinKey+↕ = Управление громкостью звука
                            </TextBlock>
                            
                        </CheckBox.ToolTip>
                    </CheckBox>
                   
                </Grid>
            </TabItem>
        </TabControl>
        
        <Button Content="Закрыть" Grid.Row="1" HorizontalAlignment="Right" Margin="3" Height="25" Width="70" IsCancel="True" IsDefault="True"/>
    </Grid>
</Window>
